package com.power.dao;

import com.power.ov.ResultDataTable;
import com.power.pojo.Line;

import java.sql.SQLException;

/**
 * Created with IntelliJ IDEA.
 * User: 李辽
 * Date: 2020/10/07 17:03
 * Description:
 * Version: V1.0
 */
public interface LineDao {
    ResultDataTable QueryListLine(int page, int count) throws SQLException;

    int ModifiesLineStatus(int newstate, int line_id) throws SQLException;

    int ModifiesTowerStatus(int newstate, int line_id) throws SQLException;

    int DeletLine(String line_id) throws SQLException;

    int ModifiesLineDate(Line line) throws SQLException;

    int AddLine(Line line) throws SQLException;

    ResultDataTable SearchLine(String line_number, int line_run, int page, int limit) throws SQLException;

    ResultDataTable ShowSelectLine() throws SQLException;

    ResultDataTable showUser() throws SQLException;
}
